* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', Arial, sans-serif;
  background: #0a1929;
  color: #fff;
}

#app {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

/* 大数据仪表盘蓝色风格 */
.dashboard-card {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  border: 1px solid rgba(58, 132, 255, 0.3);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.dashboard-card:hover {
  border-color: rgba(58, 132, 255, 0.6);
  box-shadow: 0 6px 30px rgba(58, 132, 255, 0.2);
  transform: translateY(-2px);
}

.stat-card {
  background: linear-gradient(135deg, rgba(30, 60, 114, 0.8) 0%, rgba(42, 82, 152, 0.8) 100%);
  border: 1px solid rgba(58, 132, 255, 0.3);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: rgba(58, 132, 255, 0.6);
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(58, 132, 255, 0.3);
}

.stat-value {
  font-size: 36px;
  font-weight: bold;
  color: #3a84ff;
  margin: 10px 0;
}

.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

/* Element Plus 深色主题覆盖 */
.el-menu {
  background-color: #0f1419 !important;
  border-right: 1px solid rgba(58, 132, 255, 0.2) !important;
}

.el-menu-item,
.el-sub-menu__title {
  color: rgba(255, 255, 255, 0.8) !important;
}

.el-menu-item:hover,
.el-sub-menu__title:hover {
  background-color: rgba(58, 132, 255, 0.1) !important;
  color: #3a84ff !important;
}

.el-menu-item.is-active {
  background-color: rgba(58, 132, 255, 0.2) !important;
  color: #3a84ff !important;
  border-right: 3px solid #3a84ff;
}

.el-table {
  background-color: transparent !important;
  color: #fff !important;
}

.el-table th,
.el-table tr {
  background-color: rgba(30, 60, 114, 0.5) !important;
  color: #fff !important;
}

.el-table td {
  border-bottom: 1px solid rgba(58, 132, 255, 0.1) !important;
}

.el-table--striped .el-table__body tr.el-table__row--striped td {
  background-color: rgba(30, 60, 114, 0.3) !important;
}

.el-table__body tr:hover > td {
  background-color: rgba(58, 132, 255, 0.1) !important;
}

.el-button--primary {
  background: linear-gradient(135deg, #3a84ff 0%, #2a5298 100%) !important;
  border: none !important;
}

.el-button--primary:hover {
  background: linear-gradient(135deg, #5a9cff 0%, #3a72b8 100%) !important;
}

.el-dialog {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%) !important;
  border: 1px solid rgba(58, 132, 255, 0.3) !important;
}

.el-dialog__title {
  color: #fff !important;
}

.el-form-item__label {
  color: rgba(255, 255, 255, 0.8) !important;
}

.el-input__inner,
.el-textarea__inner,
.el-select .el-input__inner {
  background-color: rgba(10, 25, 41, 0.6) !important;
  border: 1px solid rgba(58, 132, 255, 0.3) !important;
  color: #fff !important;
}

/* 滚动条样式 */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(10, 25, 41, 0.5);
}

::-webkit-scrollbar-thumb {
  background: rgba(58, 132, 255, 0.5);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(58, 132, 255, 0.7);
}

.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.3s ease;
}

.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}
